<include file="public/shop_header"/>

<body>
<!--banner-->
<div class="cpBanner">
  <ul class="swiper-wrapper">
    <volist name="banner" id="banner">
      <li class="swiper-slide">
        <img src="{$banner.ad_code}">
      </li>
    </volist>
  </ul>
  <div class="swiper-pagination">
  </div>
</div>
<!--banner End--> 

<!--main-->
<div class="cpMain">
  <div class="cpCategory clearfix">
    <volist name="category" id="category">
      <a href="{:U('Goods/goodsList',array('cat_id' => $category.id))}"> <i class="icon"><img src="{$category.image}"></i>
        <p class="tit">{$category.name}</p></a>
    </volist>
  </div>
  <!--精品球具-->
  <div class="cpProduct">
    <div class="cpProduct-tit">
      <img src="__PUBLIC__/shop/images/cpProduct-t1.png">  精品套餐
    </div>

    <ul class="cpProduct-list clearfix">
      <volist name="list_1" id="list_1">
        <li>
          <a href="{:U('Goods/goods_detail',array('item_id' => $list_1.goods_id))}">
            <div class="pic">
              <img src="{$list_1.original_img}">
            </div>
            <div class="txt">
              <h3 class="t">{$list_1.goods_name}</h3>
              <div class="f">
                <span class="price">￥<strong>{:strtotime($user.vip_time) > time() && $user.vip ? $list_1.vip_price : $list_1.shop_price }</strong></span><del>￥{$list_1.original_price}</del>
              </div>
            </div>
          </a>
        </li>
      </volist>
    </ul>
  </div>
  <!--精品球具 End-->


  <!--精品球-->
  <div class="cpProduct">
    <div class="cpProduct-tit">
      <img src="__PUBLIC__/shop/images/cpProduct-t2.png">精品球
    </div>
    <ul class="cpProduct-list clearfix">

      <volist name="list_2" id="list_2">
        <li>
          <a href="{:U('Goods/goods_detail',array('item_id' => $list_2.goods_id))}">
            <div class="pic">
              <img src="{$list_2.original_img}">
            </div>
            <div class="txt">
              <h3 class="t">{$list_2.goods_name}</h3>
              <div class="f">
                <span class="price">￥<strong>{$list_2.shop_price}</strong></span><del>￥{$list_2.original_price}</del>
              </div>
            </div>
          </a>
        </li>
      </volist>
    </ul>
  </div>
  <!--精品球 End-->
</div>
<!--main End--> 

<include file="public/shop_footer"/>

</body>
</html>
